package com.itheima.question.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("st_question")
public class Question {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;      //题目id
    private String catalogId;   //目录id
    private String catalogName;     //目录名
    private String courseId;
    private String courseName;
    private String number;
    private String subject;     //题干
    private String type;        //题目类型
    private String difficulty;  //难易程度
    private String analysis;    //题目分析
    private String analysisVideo;
    private String remark;
    private String isClassic;   //是否经典
    private String state;       //状态
    private String reviewStatus;    //审核状态
    private String createBy;
    private String createDept;
    @TableField(fill = FieldFill.INSERT)
    private Date   createTime;
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    private Date   updateTime;
    private String companyId;       //企业id
    private String companyName;     //企业名
    private String picture;         //题目图片
}
